home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / SourceCode / AdobeExamples / NX_HitDetect / README < prev    next >
Encoding:
Text File  |  1992-12-19  |  1.5 KB  |  39 lines

  1.  
  2. README file for the HitDetection application.
  3.  
  4. The HitDetection application is intended to highlight patterns in a Display PostScript
  5. environment.
  6.  
  7.  
  8. Below lies an annotated list of the files used in the application. 
  9.  
  10. DetectApp        - A subclass of Application. Creates the window with the
  11.                     ScrollView, DocView and DrawingView. Provides the
  12.                     id's of the items in the Methods Panel (matrices, buttons, etc).
  13. ScrollingView        - A subclass of ScrollView. This view syncronizes the DrawingView 
  14.                     with the offscreen buffers. 
  15. DocView            - A subclass of View. Serves as the DocView for the ScrollView.
  16.                     Makes the DrawingView a subview making it easier to
  17.                     size and scale the DrawingView. The Drawing View is
  18.                     resized whenever the user zooms into or out of the
  19.                     document.
  20. DrawingView        - A subclass of View. The view that manages the drawing for a
  21.                     document. Contains a single Bezier curver (represented
  22.                     in the form of a Bezier object). A grid can be drawn in the
  23.                     view and it can be scaled in or out in conjuction with the
  24.                     DocView.
  25. Bezier            - A subclass of Object that contains the points locations for the
  26.                     Bezier and performs the hit detection operations.
  27.  
  28.  
  29. DrawingViewWraps.psw            - PS Routines for turning patterns into Type 3 fonts.
  30.  
  31.  
  32. Topics of interest from the HitDetection application:
  33.  
  34. Drawing a grid (DrawingView)
  35. Changing and moving a graphic object (DrawingView, Bezier)
  36. Using offscreen windows to buffer drawing (ScrollingView, DrawingView)
  37. Hit detection (DrawingView, Bezier)
  38. Scaling the view (DocView, DrawingView)
  39.